﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(&H1040)), Guid("9B311E80-BC95-4518-A58C-446EC9A082B5")> _
    Public Interface IGoogleDesktopIndexingComponentRegister
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3EA)> _
        Function RegisterIndexingComponent(<[In], MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String, <[In], MarshalAs(UnmanagedType.Struct)> ByVal component_description As Object) As <MarshalAs(UnmanagedType.Interface)> IGoogleDesktopIndexingComponentRegistration
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3EB)> _
        Sub UnregisterIndexingComponent(<[In], MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String)
    End Interface
End Namespace

